USE [BusSystem]
GO

/****** Object:  Table [dbo].[Bus_BusList]    Script Date: 05/23/2010 23:58:05 ******/
SET ANSI_NULLS ON
GO

SET QUOTED_IDENTIFIER ON
GO

SET ANSI_PADDING ON
GO

CREATE TABLE [dbo].[Bus_BusList](
	[RecID] [int] IDENTITY(1,1) NOT NULL,
	[BusID] [varchar](20) NOT NULL,
	[CompanyID] [varchar](20) NULL,
	[CompanyName] [nvarchar](50) NULL,
	[BusIdentificationNO] [nvarchar](50) NOT NULL,
	[BusSpec] [nvarchar](50) NOT NULL,
	[BusBrand] [nvarchar](50) NOT NULL,
	[ManufacturerID] [varchar](20) NULL,
	[ManufacturerName] [nvarchar](50) NOT NULL,
	[DeliveryCapacity] [decimal](18, 0) NOT NULL,
	[Seatings] [int] NOT NULL,
	[UseDivID] [varchar](20) NULL,
	[UsedFor] [nvarchar](50) NULL,
	[StatusOfCapital] [nvarchar](50) NULL,
	[BusConditions] [nvarchar](50) NULL,
	[Note] [nvarchar](200) NULL,
	[Price] [decimal](18, 0) NULL,
	[Invoice] [nvarchar](200) NULL,
	[ExFactoryDate] [smalldatetime] NULL,
	[BuyDate] [smalldatetime] NULL,
	[BusAppearance] [nvarchar](200) NULL,
	[BusLicence] [nvarchar](200) NULL,
	[BusCertificateRegistry] [nvarchar](200) NULL,
	[OperationCertificate] [nvarchar](200) NULL,
	[InsuranceCompany] [nvarchar](50) NULL,
	[AnnualVerificationDate] [smalldatetime] NULL,
	[AnnualVerificationCycle] [int] NULL,
	[InsuranceDate] [smalldatetime] NULL,
	[InsuranceCycle] [int] NULL,
	[OperationCeriticateDate] [smalldatetime] NULL,
	[OperationCeriticateCycle] [int] NULL,
	[Extinguisher] [int] NULL,
	[ExtinguisherProductionDate] [smalldatetime] NULL,
	[ExtinguisherLifecycle] [int] NULL,
	[Jack] [int] NULL,
	[JackProductionDate] [smalldatetime] NULL,
	[WarningBoard] [int] NULL,
	[Manual] [int] NULL,
	[BusKey] [int] NULL,
	[RecDivID] [varchar](20) NULL,
	[RecAcct] [varchar](20) NULL,
	[RecDate] [smalldatetime] NULL,
	[Void] [bit] NULL,
	[VoidAcct] [varchar](20) NULL,
	[VoidDate] [smalldatetime] NULL,
	[UserAcct] [varchar](20) NULL,
	[LastUpdateDate] [smalldatetime] NULL,
 CONSTRAINT [PK_Bus_BusList] PRIMARY KEY CLUSTERED 
(
	[BusID] ASC
)WITH (PAD_INDEX  = OFF, STATISTICS_NORECOMPUTE  = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS  = ON, ALLOW_PAGE_LOCKS  = ON) ON [PRIMARY]
) ON [PRIMARY]

GO

SET ANSI_PADDING OFF
GO


